Try to make sure that we have some focused widget on map. (#50339)
authorOwen Taylor <otaylor@redhat.com>
Thu, 31 Jan 2002 16:13:12 +0000 (16:13 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 31 Jan 2002 16:13:12 +0000 (16:13 +0000)
commit2947596ca533860dbebdb4c5d4d8fe76b6ebdab7
tree931aa002e9cfc8c0924db7e586e4944191acfe6a
parent60dd9e54771725febb82d14c740cfe282a54961b
Try to make sure that we have some focused widget on map. (#50339)

Wed Jan 30 13:55:59 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_show): Try to make
        sure that we have some focused widget on map. (#50339)

        * gtk/gtkdialog.c (gtk_dialog_map): Handling picking
        a focus widget here differently so that if a
        response button gets picked, it's the default one.

        * tests/testgtk.c (make_message_dialog): Set the
        default response for the dialogs.
tests/testgtk.c